<template>
    <pageLayout>
        <template v-slot:header>
            <el-button @click="backList">返回</el-button>
        </template>
        <template>
            <el-form label-width="100px">
                <el-row>
                    <el-col :span="12">
                        <el-form-item label="活动名称">
                            <el-input v-model="rows.name" readonly></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="12">
                        <el-form-item label="合同">
                            <el-input v-model="rows.contract" readonly></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="12">
                        <el-form-item label="采购优先级">
                            <el-input v-model="rows.level" readonly></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="12">
                        <el-form-item label="负责人">
                            <el-input v-model="rows.contacts" readonly></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="12">
                        <el-form-item label="联系人">
                            <el-input v-model="rows.director" readonly></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="12">
                        <el-form-item label="联系电话">
                            <el-input v-model="rows.phone" readonly></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="12">
                        <el-form-item label="成立日期">
                            <el-input v-model="rows.establishment" readonly></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="12">
                        <el-form-item label="付款条件">
                            <el-input v-model="rows.pay_condition" readonly></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="12">
                        <el-form-item label="设备状态">
                            <el-input v-model="rows.devices_state" readonly></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="12">
                        <el-form-item label="产地">
                            <el-input v-model="rows.production" readonly></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="12">
                        <el-form-item label="信用码">
                            <el-input v-model="rows.code" readonly></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="12">
                        <el-form-item label="开票地址">
                            <el-input v-model="rows.ticket_address" readonly></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="24">
                        <el-form-item label="备注">
                            <el-input  v-model="rows.remark" readonly></el-input>
                        </el-form-item>
                    </el-col>
                </el-row>
            </el-form>
                   
        </template>
    </pageLayout>
</template>
<script>
export default {
    data(){
        return{
         tableData: [],
          rows:{},
        //   ob:{},
        }
    },
    mounted() {
        this.rows =JSON.parse(sessionStorage.getItem('Purchase')) 
        // this.ob = this.$route.params
        // this.rows = this.ob.rows
        
    },
    methods:{
        //返回数据列表
        backList(){
            this.$router.push('/supplier/list')
        }
    }
}
</script>
<style lanng="less" scoped>
.info{
    font-size: 14px;
    color: #606266;
    line-height: 40px;
    position: absolute;
    bottom: 215px;
}
</style>